<?php
namespace BP\GPM;
require_once("BP/En/Map.php");
class GroupEmp extends EntityMM {
	public function getFK_Emp () 
	{
		return $this->GetValStringByKey(GroupEmpAttr::$FK_Emp);
	}
	public function setFK_Emp ($value) // [String value]
	{
		$this->SetValByKey(GroupEmpAttr::$FK_Emp, $value);
	}
	public function getFK_Group () 
	{
		return $this->GetValStringByKey(GroupEmpAttr::$FK_Group);
	}
	public function setFK_Group ($value) // [String value]
	{
		$this->SetValByKey(GroupEmpAttr::$FK_Group, $value);
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public function getEnMap () 
	{
		if (($this->get_enMap() != NULL))
		{
			return $this->get_enMap();
		}
		$map = new Map("GPM_GroupEmp", "权限组人�?");
		$map->AddTBStringPK(GroupEmpAttr::$FK_Group, NULL, "权限�?",  TRUE ,  FALSE , 0, 50, 20);
		$map->AddDDLEntitiesPK(GroupEmpAttr::$FK_Emp, NULL, "人员", Emps::constructor__(),  TRUE );
		$this->set_enMap($map);
		return $this->get_enMap();
	}
}
?>
